#pragma once
#include <iostream>
#include "Sock.h"

class SNETWORK_API  Sock::CContext
{
public:
    static CContext *instance();
    int execute();
   
private:    
    CContext();
    static CContext* m_instance;    
    class CGarbo {public: ~CGarbo(){if (CContext::m_instance) delete CContext::m_instance;}};
    static CGarbo Garbo;	    
};
